package cn.ujn.medicalbackend.service;

import cn.ujn.medicalbackend.request.MedicalPolicyAddRequest;
import cn.ujn.medicalbackend.request.MedicalPolicyDeleteRequest;
import cn.ujn.medicalbackend.request.MedicalPolicyUpdateRequest;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.ujn.medicalbackend.domain.MedicalPolicy;
import jakarta.servlet.http.HttpServletRequest;

/**
* @author Drink
* @description 针对表【medical_policy】的数据库操作Service
* @createDate 2024-10-26 10:28:48
*/
public interface MedicalPolicyService extends IService<MedicalPolicy> {

    Page<MedicalPolicy> medicalPolicyPageTransfer(Page<MedicalPolicy> tempPage);

    long addMedicalPolicy(MedicalPolicyAddRequest medicalPolicyAddRequest, HttpServletRequest request);

    boolean updateMedicalPolicy(MedicalPolicyUpdateRequest medicalPolicyUpdateRequest, HttpServletRequest request);

    boolean deleteMedicalPolicy(MedicalPolicyDeleteRequest medicalPolicyDeleteRequest, HttpServletRequest request);
}
